﻿using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.IO;
using Admin.Infra;

namespace Admin.Models
{
    public class ViewModel
    {
        public List<Company> Companies { get; set; }
        public List<Version> Versions { get; set; }

        public Company Company { get; set; }
        public Version Version { get; set; }

        public List<Page> Pages { get; set; }
        public List<Plugin> Plugins { get; set; }
        public List<Include> Includes { get; set; }

        public string CompanyJson { get; set; }
        public string PluginJson { get; set; }
        public string VersionJson { get; set; }
        public Admin.Infra.Enums.AdminPages PageType { get; set; }

        public List<FileInfo> FileCollection { get; set; }
    }
}